<?php

namespace backend\models;

use Yii;

/**
 * This is the model class for table "{{%user}}".
 *
 * @property integer $id
 * @property string $name
 * @property string $header
 * @property string $access_token
 * @property string $unionid
 * @property integer $token_expire
 * @property integer $award_num
 * @property integer $bet_num
 * @property integer $bet_win
 * @property integer $status
 */
class User extends \common\models\User
{

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'name' => '名字',
            'header' => '头像',
            'access_token' => 'token',
            'unionid' => '标识',
            'token_expire' => 'token过期时间',
            'award_num' => '获奖次数',
            'bet_num' => '竞猜场次次数',
            'bet_win' => '竞猜场次命中次数',
            'is_apply' => '是否申请领奖 0:未申请 1：已经申请',
            'status' => '0:禁用 1：正常',
        ];
    }

}
